sc68path=@top_srcdir@/plugins/sc68/libsc68

sc68replaydata = \
	libsc68/file68/data68/Replay/aenigmatica.bin\
	libsc68/file68/data68/Replay/alteredbeast.bin\
	libsc68/file68/data68/Replay/armalyte.bin\
	libsc68/file68/data68/Replay/asidifier.bin\
	libsc68/file68/data68/Replay/azidifier.bin\
	libsc68/file68/data68/Replay/bendaglish.deli.bin\
	libsc68/file68/data68/Replay/big.bin\
	libsc68/file68/data68/Replay/blipblop.bin\
	libsc68/file68/data68/Replay/blipp079.bin\
	libsc68/file68/data68/Replay/bs22.bin\
	libsc68/file68/data68/Replay/cabal.bin\
	libsc68/file68/data68/Replay/chipmon2.bin\
	libsc68/file68/data68/Replay/cosotfmx.bin\
	libsc68/file68/data68/Replay/crapman1.bin\
	libsc68/file68/data68/Replay/crapman2.bin\
	libsc68/file68/data68/Replay/deltamusic1.bin\
	libsc68/file68/data68/Replay/deltamusic2.bin\
	libsc68/file68/data68/Replay/digitfmx.bin\
	libsc68/file68/data68/Replay/dmu.bin\
	libsc68/file68/data68/Replay/dwaga.bin\
	libsc68/file68/data68/Replay/dyter07.bin\
	libsc68/file68/data68/Replay/elf.bin\
	libsc68/file68/data68/Replay/fc13_14.bin\
	libsc68/file68/data68/Replay/fireice.bin\
	libsc68/file68/data68/Replay/fred.bin\
	libsc68/file68/data68/Replay/gemx.bin\
	libsc68/file68/data68/Replay/harlequin.bin\
	libsc68/file68/data68/Replay/hippel-coso_note.deli.bin\
	libsc68/file68/data68/Replay/hpn-jam.bin\
	libsc68/file68/data68/Replay/huelsbeck.bin\
	libsc68/file68/data68/Replay/huntforredoct.bin\
	libsc68/file68/data68/Replay/ivanhoe.bin\
	libsc68/file68/data68/Replay/jamcracker10.bin\
	libsc68/file68/data68/Replay/jamcrackerpro.bin\
	libsc68/file68/data68/Replay/lastninja3.bin\
	libsc68/file68/data68/Replay/lastninjaiii.bin\
	libsc68/file68/data68/Replay/lcd.bin\
	libsc68/file68/data68/Replay/lx_mmme.bin\
	libsc68/file68/data68/Replay/mcoder.bin\
	libsc68/file68/data68/Replay/megatizer.bin\
	libsc68/file68/data68/Replay/metrocross.bin\
	libsc68/file68/data68/Replay/midi.bin\
	libsc68/file68/data68/Replay/mmme.bin\
	libsc68/file68/data68/Replay/mmmesid.bin\
	libsc68/file68/data68/Replay/mon.bin\
	libsc68/file68/data68/Replay/mon_old.deli.bin\
	libsc68/file68/data68/Replay/musmon1.bin\
	libsc68/file68/data68/Replay/musmon2.bin\
	libsc68/file68/data68/Replay/ninjaremix.bin\
	libsc68/file68/data68/Replay/ninjatfmx.bin\
	libsc68/file68/data68/Replay/nobuddiesland.bin\
	libsc68/file68/data68/Replay/none.bin\
	libsc68/file68/data68/Replay/note.bin\
	libsc68/file68/data68/Replay/note2.bin\
	libsc68/file68/data68/Replay/page.bin\
	libsc68/file68/data68/Replay/protracker.bin\
	libsc68/file68/data68/Replay/psg1.bin\
	libsc68/file68/data68/Replay/psgtrackerv2.bin\
	libsc68/file68/data68/Replay/puma.bin\
	libsc68/file68/data68/Replay/puma2.bin\
	libsc68/file68/data68/Replay/quartet.bin\
	libsc68/file68/data68/Replay/quartet_mindbomb.bin\
	libsc68/file68/data68/Replay/realms.bin\
	libsc68/file68/data68/Replay/robhubbard.deli.bin\
	libsc68/file68/data68/Replay/rollingronny.bin\
	libsc68/file68/data68/Replay/shadowdancer.bin\
	libsc68/file68/data68/Replay/sidmon1.bin\
	libsc68/file68/data68/Replay/sidmon2.bin\
	libsc68/file68/data68/Replay/sidsound.bin\
	libsc68/file68/data68/Replay/sndh_ice.bin\
	libsc68/file68/data68/Replay/soundfx.bin\
	libsc68/file68/data68/Replay/spacecrusade.bin\
	libsc68/file68/data68/Replay/spacegun.bin\
	libsc68/file68/data68/Replay/ssd1.bin\
	libsc68/file68/data68/Replay/stos.bin\
	libsc68/file68/data68/Replay/synthiv.bin\
	libsc68/file68/data68/Replay/tao_digi.bin\
	libsc68/file68/data68/Replay/tao_hubbard.bin\
	libsc68/file68/data68/Replay/tao_ms211.bin\
	libsc68/file68/data68/Replay/tao_ms25.bin\
	libsc68/file68/data68/Replay/tao_ms27.bin\
	libsc68/file68/data68/Replay/tao_tsd.bin\
	libsc68/file68/data68/Replay/tcbtracker.bin\
	libsc68/file68/data68/Replay/test.bin\
	libsc68/file68/data68/Replay/tfmx.bin\
	libsc68/file68/data68/Replay/tfmx_aga.bin\
	libsc68/file68/data68/Replay/tfmx_old.bin\
	libsc68/file68/data68/Replay/tfmx_st.bin\
	libsc68/file68/data68/Replay/timerc.bin\
	libsc68/file68/data68/Replay/toki.bin\
	libsc68/file68/data68/Replay/tsd1.bin\
	libsc68/file68/data68/Replay/utopia.bin\
	libsc68/file68/data68/Replay/vikingchild.bin\
	libsc68/file68/data68/Replay/xbiossound.bin\
	libsc68/file68/data68/Replay/zonewarrior.bin

EXTRA_DIST = \
	$(sc68replaydata)\
	libsc68/libsc68/emu68/lines/table.c\
	libsc68/libsc68/emu68/lines/lineE.c\
	libsc68/libsc68/emu68/lines/line3.c\
	libsc68/libsc68/emu68/lines/line6.c\
	libsc68/libsc68/emu68/lines/lineB.c\
	libsc68/libsc68/emu68/lines/line5.c\
	libsc68/libsc68/emu68/lines/line8.c\
	libsc68/libsc68/emu68/lines/lineC.c\
	libsc68/libsc68/emu68/lines/line1.c\
	libsc68/libsc68/emu68/lines/lineD.c\
	libsc68/libsc68/emu68/lines/lineF.c\
	libsc68/libsc68/emu68/lines/line2.c\
	libsc68/libsc68/emu68/lines/lineA.c\
	libsc68/libsc68/emu68/lines/line0.c\
	libsc68/libsc68/emu68/lines/line4.c\
	libsc68/libsc68/emu68/lines/line7.c\
	libsc68/libsc68/emu68/lines/line9.c\
	libsc68/libsc68/emu68/line3_68.c\
	libsc68/libsc68/emu68/line7_68.c\
	libsc68/libsc68/emu68/line5_68.c\
	libsc68/libsc68/emu68/lineC_68.c\
	libsc68/libsc68/emu68/lineB_68.c\
	libsc68/libsc68/emu68/line9_68.c\
	libsc68/libsc68/emu68/lineE_68.c\
	libsc68/libsc68/emu68/line8_68.c\
	libsc68/libsc68/emu68/line4_68.c\
	libsc68/libsc68/emu68/line6_68.c\
	libsc68/libsc68/emu68/lineF_68.c\
	libsc68/libsc68/emu68/lineA_68.c\
	libsc68/libsc68/emu68/line0_68.c\
	libsc68/libsc68/emu68/lineD_68.c\
	libsc68/libsc68/emu68/line1_68.c\
	libsc68/libsc68/emu68/line2_68.c\
	libsc68/libsc68/io68/ym_linear_table.c\
	libsc68/libsc68/io68/ym_atarist_table.c\
	libsc68/libsc68/emu68/crc32.c\
	libsc68/libsc68/emu68/table68.c

if HAVE_SC68
pkglib_LTLIBRARIES = in_sc68.la

sc68replaydatadir = $(libdir)/deadbeef/data68/Replay
sc68replaydata_DATA = $(sc68replaydata)

in_sc68_la_SOURCES=in_sc68.c\
	libsc68/file68/src/gzip68.c\
	libsc68/file68/src/vfs68.c\
	libsc68/file68/src/ice68.c\
	libsc68/file68/src/vfs68_ao.c\
	libsc68/file68/src/vfs68_null.c\
	libsc68/file68/src/replay.inc.h\
	libsc68/file68/src/msg68.c\
	libsc68/file68/src/timedb68.c\
	libsc68/file68/src/timedb.inc.h\
	libsc68/file68/src/init68.c\
	libsc68/file68/src/vfs68_z.c\
	libsc68/file68/src/replay68.c\
	libsc68/file68/src/registry68.c\
	libsc68/file68/src/uri68.c\
	libsc68/file68/src/rsc68.c\
	libsc68/file68/src/vfs68_fd.c\
	libsc68/file68/src/vfs68_file.c\
	libsc68/file68/src/vfs68_mem.c\
	libsc68/file68/src/file68.c\
	libsc68/file68/src/string68.c\
	libsc68/file68/src/endian68.c\
	libsc68/file68/src/vfs68_curl.c\
	libsc68/file68/src/option68.c\
	libsc68/file68/src/ferror68.c\
	libsc68/file68/sc68/file68_vfs_ao.h\
	libsc68/file68/sc68/file68.h\
	libsc68/file68/sc68/file68_ord.h\
	libsc68/file68/sc68/file68_tag.h\
	libsc68/file68/sc68/file68_vfs_curl.h\
	libsc68/file68/sc68/file68_str.h\
	libsc68/file68/sc68/file68_features.h\
	libsc68/file68/sc68/file68_vfs_def.h\
	libsc68/file68/sc68/file68_msg.h\
	libsc68/file68/sc68/file68_vfs_file.h\
	libsc68/file68/sc68/file68_api.h\
	libsc68/file68/sc68/file68_chk.h\
	libsc68/file68/sc68/file68_ice.h\
	libsc68/file68/sc68/file68_err.h\
	libsc68/file68/sc68/file68_opt.h\
	libsc68/file68/sc68/file68_vfs_mem.h\
	libsc68/file68/sc68/file68_rsc.h\
	libsc68/file68/sc68/file68_zip.h\
	libsc68/file68/sc68/file68_vfs_null.h\
	libsc68/file68/sc68/file68_tdb.h\
	libsc68/file68/sc68/file68_reg.h\
	libsc68/file68/sc68/file68_vfs_fd.h\
	libsc68/file68/sc68/file68_vfs.h\
	libsc68/file68/sc68/file68_uri.h\
	libsc68/file68/sc68/file68_vfs_z.h\
	libsc68/libsc68/dial68/dial68.h\
	libsc68/libsc68/dial68/dial68.c\
	libsc68/libsc68/dial68/dial_conf.c\
	libsc68/libsc68/dial68/dial_finf.c\
	libsc68/libsc68/dial68/dial_tsel.c\
	libsc68/unice68/unice68.h\
	libsc68/unice68/unice68_unpack.c\
	libsc68/unice68/unice68_pack.c\
	libsc68/unice68/unice68_version.c\
	libsc68/libsc68/conf68.c\
	libsc68/libsc68/api68.c\
	libsc68/libsc68/mixer68.c\
	libsc68/libsc68/io68/io68_api.h\
	libsc68/libsc68/io68/paulaemul.c\
	libsc68/libsc68/io68/io68.h\
	libsc68/libsc68/io68/shifter_io.h\
	libsc68/libsc68/io68/ym_envel.c\
	libsc68/libsc68/io68/mfp_io.h\
	libsc68/libsc68/io68/ym_dump.h\
	libsc68/libsc68/io68/ym_blep.h\
	libsc68/libsc68/io68/ymemul.c\
	libsc68/libsc68/io68/mwemul.h\
	libsc68/libsc68/io68/ymoutorg.h\
	libsc68/libsc68/io68/shifter_io.c\
	libsc68/libsc68/io68/paula_io.c\
	libsc68/libsc68/io68/mw_io.c\
	libsc68/libsc68/io68/mw_io.h\
	libsc68/libsc68/io68/mfpemul.h\
	libsc68/libsc68/io68/paula_io.h\
	libsc68/libsc68/io68/ym_dump.c\
	libsc68/libsc68/io68/mfp_io.c\
	libsc68/libsc68/io68/mwemul.c\
	libsc68/libsc68/io68/paulaemul.h\
	libsc68/libsc68/io68/ym_fixed_vol.h\
	libsc68/libsc68/io68/ym_io.c\
	libsc68/libsc68/io68/io68.c\
	libsc68/libsc68/io68/ym_puls.h\
	libsc68/libsc68/io68/ym_blep.c\
	libsc68/libsc68/io68/ymemul.h\
	libsc68/libsc68/io68/ymout2k9.h\
	libsc68/libsc68/io68/default.h\
	libsc68/libsc68/io68/mfpemul.c\
	libsc68/libsc68/io68/ym_io.h\
	libsc68/libsc68/io68/ym_puls.c\
	libsc68/libsc68/libsc68.c\
	libsc68/libsc68/emu68/inl68_datamove.h\
	libsc68/libsc68/emu68/lines68.c\
	libsc68/libsc68/emu68/lines68.h\
	libsc68/libsc68/emu68/inl68_bitmanip.h\
	libsc68/libsc68/emu68/inst68.h\
	libsc68/libsc68/emu68/inl68_progctrl.h\
	libsc68/libsc68/emu68/cc68.h\
	libsc68/libsc68/emu68/macro68.h\
	libsc68/libsc68/emu68/mem68.h\
	libsc68/libsc68/emu68/error68.h\
	libsc68/libsc68/emu68/ioplug68.c\
	libsc68/libsc68/emu68/inl68_logic.h\
	libsc68/libsc68/emu68/mem68.c\
	libsc68/libsc68/emu68/assert68.h\
	libsc68/libsc68/emu68/getea68.c\
	libsc68/libsc68/emu68/inl68_exception.h\
	libsc68/libsc68/emu68/inst68.c\
	libsc68/libsc68/emu68/emu68.c\
	libsc68/libsc68/emu68/srdef68.h\
	libsc68/libsc68/emu68/type68.h\
	libsc68/libsc68/emu68/struct68.h\
	libsc68/libsc68/emu68/error68.c\
	libsc68/libsc68/emu68/excep68.h\
	libsc68/libsc68/emu68/emu68.h\
	libsc68/libsc68/emu68/inl68_shifting.h\
	libsc68/libsc68/emu68/inl68_arithmetic.h\
	libsc68/libsc68/emu68/inl68_bcd.h\
	libsc68/libsc68/emu68/inl68_systctrl.h\
	libsc68/libsc68/emu68/emu68_api.h\
	libsc68/libsc68/emu68/ioplug68.h\
	libsc68/libsc68/sc68/trap68.h\
	libsc68/libsc68/sc68/conf68.h\
	libsc68/libsc68/sc68/sc68.h\
	libsc68/libsc68/sc68/mixer68.h\
	libsc68/desa68/desa68.h\
	libsc68/desa68/desa68.c

in_sc68_la_LDFLAGS = -module -avoid-version
in_sc68_la_LIBADD = $(ZLIB_LIBS)

in_sc68_la_CFLAGS = $(CFLAGS) -std=c99 -DSC68_SHARED_DATA_PATH='"."' -DHAVE_GETENV=1 -DHAVE_CONFIG_CONFIG68_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDINT_H=1 -DHAVE_ASSERT_H -DHAVE_LIMITS_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_BASENAME=1 -DEMU68_MONOLITIC=1 -DPACKAGE_VERNUM=300 -DEMU68_EXPORT -DNDEBUG=1 -DNDEBUG_LIBSC68=1 -DUSE_FILE68=1 -DUSE_UNICE68=1 -DHAVE_INTMAX_T -DHAVE_GETENV=1 -DHAVE_STDIO_H=1 -DHAVE_MEMORY_H=1 -DHAVE_MALLOC=1 -DHAVE_FREE=1 -DHAVE_LONG_LONG_INT=1 -DHAVE_LONG_FILE_NAMES=1 -DHAVE_LIMITS_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_DLFCN_H=1 -I$(sc68path)/file68 -I$(sc68path)/file68/sc68 -I$(sc68path)/unice68 -I$(sc68path)/libsc68 -I$(sc68path)/libsc68/sc68 -I$(sc68path)/libsc68/emu68 -I@top_srcdir@/include

endif

